package com.abcdefg.lotterysystem.service;


import com.abcdefg.lotterysystem.controller.param.UserLoginParam;
import com.abcdefg.lotterysystem.controller.param.UserRegisterParam;
import com.abcdefg.lotterysystem.service.dto.UserDTO;
import com.abcdefg.lotterysystem.service.dto.UserLoginDTO;
import com.abcdefg.lotterysystem.service.dto.UserRegisterDTO;
import com.abcdefg.lotterysystem.service.enums.UserIdentityEnum;

import java.util.List;

public interface UserService {
    /**
     * 注册
     */
    UserRegisterDTO register(UserRegisterParam param);

    UserLoginDTO login(UserLoginParam param);

    /**
     * 获取人员列表
     * @param identity
     * @return
     */
    List<UserDTO> findUserInfo(UserIdentityEnum identity);
}
